package lab02.test20;

public class Test {
    public static void main(String[] args) {
        String result="123sdf%#65*&781012()";
        char tmp;
        int i;
        for(i=0;i<result.length();i++){
            tmp=result.charAt(i);
            if(tmp>='0'&&tmp<='9'){
                System.out.print(tmp) ;
            }
        }
    }



}
